Anillo 3 - OriginalAn interactive fiction by Mel Hython (2009) - the Inform 7 source text | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Home page Contents Previous Next Complete text | Chapter 5 - Limitaciones de movimiento
[ La única forma que se me ocurre es parando a los PNJs que vayan a entrar en ellos, pero tengo que meter el estado previo para poder arrancarlos ] Table of Estado Previo
[ Lugares a los que NO pueden ir ] Table of Limites
After going to a room (called destino): [ Si estamos en una habitación segura, detenemos al PNJ ] [ Por otra parte si NO estamos en ella y está activada lo reactivamos ] repeat through Table of Limites: if destino is not limite entry and activada entry is 1: let st be (estado corresponding to an pnj of pnj entry in Table of Estado Previo); if st is Active: activate pnj entry; change activada entry to 0; [say "Retornando [the pnj entry] a [st].";] repeat through Table of Limites: if destino is limite entry and pnj entry is not in limite entry: let st be status of pnj entry; deactivate pnj entry; change activada entry to 1; change (estado corresponding to an pnj of pnj entry in Table of Estado Previo) to st; [say "Parando por tabú [the pnj entry] que estaba [st].";] continue the action. |